package com.suixinsanren.design.decoration.demo03;

public class Milk extends CondimentDecorator {

    public Milk(Beverage beverage) {
        super.beverage = beverage;
    }

    @Override
    public String getDescription() {
        return beverage.description + " , 牛奶";
    }

    public double cost() {
        return beverage.cost() + .10;
    }
}
